<!---
	Copyright 2010 Edward Trudeau, Jeremy Battle
    This software is freely available under the MIT License: http://www.opensource.org/licenses/mit-license.php
    http://ayc.googlecode.com
    
--->

component persistent="true" table="agencyContacts"  schema="dbo" output="false"
{
	/* properties */
	
	property name="agencycontactid" column="id" type="numeric" ormtype="int" fieldtype="id" ; 
	property name="title" column="title" type="string" ormtype="string" ; 
	property name="firstName" column="firstName" type="string" ormtype="string" ; 
	property name="lastName" column="lastName" type="string" ormtype="string" ; 
	property name="position" column="position" type="string" ormtype="string" ; 
	property name="degree" column="degree" type="string" ormtype="string" ; 
	property name="license" column="license" type="string" ormtype="string" ; 
	property name="phone" column="phone" type="string" ormtype="string" ; 
	property name="fax" column="fax" type="string" ormtype="string" ; 
	property name="email" column="email" type="string" ormtype="string" ; 
	property name="privateComments" column="privateComments" type="string" ormtype="string" ; 
	property name="cellPhone" column="cellPhone" type="string" ormtype="string" ; 	
	
	
	public string function getDisplayColumns(){
		var displayColumns = "title,firstname,lastname,position";
		return displayColumns;
	}
	
	public string function hasMany(){
		return "";
	}

} 


